'use strict';

const Controller = require('egg').Controller;

class GetdetailController extends Controller {
    async getDetail() {
        const { ctx } = this;
        const {m_id}=ctx.query
        const post = await this.app.mysql.get('movie', { movieid: m_id });
        ctx.body=post
    }
}

module.exports = GetdetailController;
